package com.yuanfeng.activity.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * @ClassName
 * @Description
 * @Author cyp
 * @Date 2023-06-13 09:05:20
 * @Version 1.0
 **/
@FeignClient(name = "mall-userms", url = "http://localhost:8081")
public interface UserServiceClient {


    /**
     * 更新用户新人状态
     * @param paraMap
     */
    @PostMapping("user/ms/updateUser/isnew")
    public Integer updateIsNew(@RequestBody Map<String, String> paraMap);
}
